﻿// Copyright (C) 2012 Kim Jensen, TaskJunction.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaskJunctionLib.Mapping.JSON;
using TaskJunctionLib.Model;

namespace TaskJunctionLib.Repository
{
    public interface ITaskRepository : IRepository<Task, TaskMapper>
    {
        IPagedList<Task> LoadListByProject(Project project, int page);
        IPagedList<Task> LoadListByProject(Project project, int page, TaskFilter taskFilter);
        IPagedList<Task> LoadListByIteration(Iteration iteration, int page);
        IPagedList<Task> LoadListByIteration(Iteration iteration, int page, TaskFilter taskFilter);
        void Delete(IList<Task> tasks);
    }
}
